<?php

/**
 * Plateformversiongroup form.
 *
 * @package    explications_informatiques
 * @subpackage form
 * @author     Guimezanes Cyrille
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class PlateformversiongroupForm extends BasePlateformversiongroupForm
{
  public function configure()
  {
	  $this->disableLocalCSRFProtection();
  }
  public function setUp()
    {
        parent::setUp();
        $this->hasOne('Plateformversion', array(
             'local' => 'version',
             'foreign' => 'id'));

        $this->hasOne('Assoplatform', array(
             'local' => 'id_group',
             'foreign' => 'id_version_minor'));

        $this->hasOne('Assoplatform as Assoplatform_4', array(
             'local' => 'id_group',
             'foreign' => 'id_version_major'));
    }
}
